package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 教师日报表对象 t_teacher_daily
 * 
 * @author bearzz
 * @date 2024-01-22
 */
public class TeacherDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 当天日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "当天日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dayDate;

    /** 日报内容 */
    @Excel(name = "日报内容")
    private String content;

    /** 教学追踪id */
    private Long teachTrackId;

    /** 就业追踪id */
    private Long jobTrackId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setDayDate(Date dayDate) 
    {
        this.dayDate = dayDate;
    }

    public Date getDayDate() 
    {
        return dayDate;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTeachTrackId(Long teachTrackId) 
    {
        this.teachTrackId = teachTrackId;
    }

    public Long getTeachTrackId() 
    {
        return teachTrackId;
    }
    public void setJobTrackId(Long jobTrackId) 
    {
        this.jobTrackId = jobTrackId;
    }

    public Long getJobTrackId() 
    {
        return jobTrackId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("dayDate", getDayDate())
            .append("createTime", getCreateTime())
            .append("content", getContent())
            .append("teachTrackId", getTeachTrackId())
            .append("jobTrackId", getJobTrackId())
            .toString();
    }
}
